From 5a015562ebbbcb23eeee1b52840c129aba64769d Mon Sep 17 00:00:00 2001 From: oliskoli Date: Sun, 2 Jul 2006 15:08:59 +0000 Subject: [PATCH] Add simple Makefile for GPSBabelGUI. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2202 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/win32/gui-2/Makefile | 56 +++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 gpsbabel/win32/gui-2/Makefile diff --git a/gpsbabel/win32/gui-2/Makefile b/gpsbabel/win32/gui-2/Makefile new file mode 100644 index 000000000..070bb386c --- /dev/null +++ b/gpsbabel/win32/gui-2/Makefile @@ -0,0 +1,56 @@ +# +# requires: unix utilities +# GNU gettext +# + +DCC = dcc32.exe +RC = brcc32.exe + +SRC = delphi.pas gnugettext.pas gnugettextD4.pas gnugettextD5.pas \ + gnugettextDx.pas common.pas utils.pas \ + about.pas filter.pas options.pas main.pas readme.pas select.pas + +FRM = about.dfm filter.dfm options.dfm main.dfm readme.dfm select.dfm + +LANG = \ + locale\de\LC_MESSAGES\delphi.mo \ + locale\de\LC_MESSAGES\default.mo \ + locale\de\LC_MESSAGES\gpsbabel.mo \ + locale\fr\LC_MESSAGES\delphi.mo \ + locale\fr\LC_MESSAGES\default.mo \ + locale\fr\LC_MESSAGES\gpsbabel.mo + +.suffixes: .po + +.po.mo: + msgfmt -o $@ $< + +.rc.res: + $(RC) $< + +.dpr.exe: + $(DCC) $< + +default: GPSBabelGUI.exe + +GPSBabelGUI.exe: GPSBabelGUI.dpr GPSBabelGUI.res $(SRC) $(FRM) $(LANG) + $(DCC) GPSBabelGUI.dpr + assemble GPSBabelGUI.exe --dxgettext + +run: GPSBabelGUI.exe + xcopy /Y ..\..\gpsbabel.exe + xcopy /Y ..\..\mingw\libexpat.dll + xcopy /Y ..\..\gpsbabel.html + GPSBabelGUI.exe + +GPSBabelGUI.res: GPSBabelGUI.dof dof2rc.exe + dof2rc GPSBabelGUI + $(RC) GPSBabelGUI.rc + +clean: + rm -f *.bak *.dcu *.exe *.mo *.dll *.res *.rc + rm -f *.~* *.??~ + rm -f readme.html README readme.xml + rm -f locale\de\LC_MESSAGES\*.mo + rm -f locale\fr\LC_MESSAGES\*.mo + -- 2.30.2